package com.yxw.live_vod_boot.entity;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@TableName("yx_fans")
@ApiModel("粉丝实体")
public class YxFansEntity implements Serializable {
    private static final long serialVersionUID = -1L;

    @TableId(value = "fans_id", type = IdType.AUTO)
    @ApiModelProperty("粉丝ID")
    private Long fansId;

    @TableField("shop_id")
    @ApiModelProperty("店铺ID")
    private Long shopId;

    @TableField("fans_user_id")
    @ApiModelProperty("粉丝用户ID")
    private Long fansUserId;

    @TableField("nickname")
    @ApiModelProperty("粉丝昵称")
    private String nickname;

    @TableField("follow_time")
    @ApiModelProperty("关注时间")
    private Date followTime;

    @TableField("fans_level")
    @ApiModelProperty("粉丝等级")
    private Integer fansLevel;

    @TableField("contribution")
    @ApiModelProperty("粉丝贡献值")
    private Integer contribution;

    @TableField("fans_type")
    @ApiModelProperty("粉丝类型")
    private String fansType;

    @TableField("order_num")
    @ApiModelProperty("显示顺序")
    private Integer orderNum;

    @TableField("avatar")
    @ApiModelProperty("头像地址")
    private String avatar;

    @TableField("gender")
    @ApiModelProperty("性别")
    private Integer gender;

    @TableField(value = "create_time")
    @ApiModelProperty("创建时间")
    private Date createTime;

    @TableField(value = "update_time")
    @ApiModelProperty("更新时间")
    private Date updateTime;
}